// 入口文件列表
const path = require('path');

const ROOT_PATH = path.resolve(__dirname);
const PAGES_PATH = path.resolve(ROOT_PATH, 'src/home');
const TEMPLATE_PATH = path.resolve(ROOT_PATH, 'src/html/template.html');
const OUTPUT_PATH = path.resolve(ROOT_PATH, 'dist');
// const PUBLIC_PATH = `/${PROJECT_NAME}/dist/`;
const PUBLIC_PATH = '/';


module.exports = {
  pages: {
    index: {
      entry: path.resolve(PAGES_PATH, 'index/index.js'),
      title: 'WMS管理系统',
    },
  },
  template: TEMPLATE_PATH,
  output: OUTPUT_PATH,
  publicPath: PUBLIC_PATH,
};
